## Script (Python) "folder_delete"
##title=Delete objects from a folder
##parameters=
REQUEST=context.REQUEST
status = 'success'

if REQUEST.has_key( 'ids' ):
    context.manage_delObjects( REQUEST['ids'] )
    qs = 'Deleted.'
else:
    qs = 'Please select one or more items first.'

return qs
